﻿<UserControl x:Class="SlvPartecipazione.PulsanteNota"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" Height="70" Width="70">
    
    <Grid x:Name="LayoutRoot" Background="{x:Null}" VerticalAlignment="Center">
        <Image Margin="0,0,0,0" Name="img1" Stretch="Fill" Source="/SlvPartecipazione;component/IMG/notaGrigia.png" />

        <StackPanel x:Name="rootElement" VerticalAlignment="Center" Margin="0,24,34,21">
            <StackPanel.Resources>
                <!-- Animates the rectangle's opacity. -->
                <Storyboard x:Name="sbLampeggioPulsante">
                    <DoubleAnimation Storyboard.TargetName="img1" Storyboard.TargetProperty="Opacity" From="1.0" To="0.0" Duration="0:0:0.3" AutoReverse="True" RepeatBehavior="Forever" />
                </Storyboard>
            </StackPanel.Resources>
        </StackPanel>
    </Grid>
</UserControl>
